package demo.bocweb.login_module.base;

import android.support.annotation.NonNull;

import demo.bocweb.com.sdk.base.BasePresenter;
import demo.bocweb.com.sdk.base.activity.BaseMVPActivity;
import demo.bocweb.login_module.contract.RegisterContract;
import demo.bocweb.login_module.presenter.RegisterPresenter;

/**
 * Created by zhelun on 2018/1/26.
 */

public abstract class BaseRegisterActivity extends BaseMVPActivity<RegisterContract.IRegisterPresenter, RegisterContract.IRegisterModel> implements RegisterContract.IRegisterView {

    @NonNull
    @Override
    public BasePresenter initPresenter() {
        return RegisterPresenter.newInstance();
    }


    @Override
    protected abstract int getLayoutId();
}
